Skip to content

Conversation

@pamelafox
Copy link
Collaborator

Purpose

Fixes #2849

The steps currently say to run "enable_acls" before you have run azd up. This PR changes it to say to only run that if your index already exists.

Does this introduce a breaking change?

When developers merge from main and run the server, azd up, or azd deploy, will this produce an error?
If you're not sure, try it out on an old environment.

[ ] Yes
[X] No

Does this require changes to learn.microsoft.com docs?

This repository is referenced by this tutorial
which includes deployment, settings and usage instructions. If text or screenshot need to change in the tutorial,
check the box below and notify the tutorial author. A Microsoft employee can do this for you if you're an external contributor.

[ ] Yes
[X] No

Type of change

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[X] Documentation content changes
[ ] Other... Please describe:

Code quality checklist

See CONTRIBUTING.md for more details.

N/A

Revised instructions for enabling access control on search index, clarifying conditions based on index existence.
Copilot finished reviewing on behalf of pamelafox December 1, 2025 06:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the setup instructions for enabling authentication and access control by reordering the steps to align with the automated deployment behavior. The key change moves the manual ACL enablement step from before deployment to after authentication setup, clarifying that it's only needed for pre-existing indexes since new indexes automatically get ACL fields during deployment.

Key Changes:

  • Moved the "Enable access control on your search index" step from before deployment (after step 2) to after authentication tenant login (before the final deployment step)
  • Clarified that manual ACL enablement is only needed if the search index already exists
  • Added explicit note that ACLs are automatically enabled during deployment for new indexes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pamelafox pamelafox merged commit a197445 into main Dec 1, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting up optional login and document level access control

3 participants